<include file="top" />
<include file="left" />
<div id="right">
	<h3>产品管理</h3>
	<form method="get"  style="margin-left:40px;">
		栏目：<select name="pid" >
			<option value="" >请选择</option>
				<volist name="cate" id="cate">
					<option value="<{$cate.id}>" <if condition="$b_id eq $cate['id']">selected="selected"</if> ><{$cate.big_category_name}></option>
				</volist>
		</select>
		<button type="submit">确定</button>
	</form>
	<table width="100%" border="1">
		<tr class="first">
			<td width="20%">所属分类</td>
			<td width="20%">产品名称</td>
			<td width="10%">更改</td>
			<td width="10%">静态化</td>
			<td width="15%">删除静态化页面</td>
			<td width="10%">删除</td>
			<td width="8%">同大类排序</td>
			<td width="10%">首页四小图排序</td>
		</tr>
		<volist name="product" id="list">
		<tr id="dele-id-<{$list.id}>">
			<td><{$list.cate_data.big_category_name}></td>
			<td><{$list.product_name}></td>
			<td><a href="__URL__/modify_product/id/<{$list.id}>">更改</a></td>
			<td><a href="javascript:;" onclick="deleTip('__URL__/product_statice/id/<{$list.id}>','dele-id-<{$list.id}>',false)" class="sta"><if condition="$list['is_statice'] eq 1">重新静态化<else/>静态化</if></a></td>
			<td><a href="javascript:;" onclick="deleTip('__URL__/delete_product_statice/id/<{$list.id}>','dele-id-<{$list.id}>,true')">删除静态化页面</a></td>
			<td><a href="javascript:;" onclick="deleTip('__URL__/delete_product/id/<{$list.id}>','dele-id-<{$list.id}>,true')">删除</a></td>
			<td><input value="<{$list.psort}>" size="2" onblur="$.changeSort(this,<{$list.id}>,'__URL__/changeSort','p')"></td>
			<td><input value="<{$list.sortall}>" size="2" onblur="$.changeSort(this,<{$list.id}>,'__URL__/changeSort','all')"></td>
		</tr>
		</volist>
	</table>
			
	
</div>
<include file="foot" />